/**
 * 
 */
package net.sf.stylestudio.uml.core.model;

/**
 * @author Sabuj Das | sabuj.das@gmail.com
 *
 */
public abstract class Multiplicity<From extends BaseType, To extends BaseType> extends BaseModel {

	public enum Type{
		ONE_TO_ONE,
		ONE_TO_MANY,
		MANY_TO_MANY
	};
	
	private Type type;
	private final From fromType;
	private final To toType;
	
	/**
	 * @param fromType
	 * @param toType
	 */
	public Multiplicity(From fromType, To toType) {
		this.fromType = fromType;
		this.toType = toType;
	}
	
	
}
